<?php
namespace Modules\ShopApi\Http\Controllers\v1;
use Illuminate\Http\Request;
use Modules\ShopApi\Http\Requests\IDMustBePositiveIntRequest;
use Modules\ShopApi\Models\ShopRecharge as ShopRechargeModel;
use Modules\ShopApi\Models\ShopRechargeLog as ShopRechargeLogModel;
class RechargeController extends CommonController
{
	/**
	 * @name  获取充值模板列表
	 * @method  GET
	 * @return  JSON
	 */
    public function get_recharge_list()
    {
        return (new ShopRechargeModel())->get_recharge_list();
    }
	/**
	 * @name  获取充值记录列表 
	 * @method  GET	
	 * @param page 页码
	 * @return  JSON	
	 */
    public function get_recharge_log_list(Request $request)
    { 
        return (new ShopRechargeLogModel())->get_recharge_log_list();
    }
}
